package com.originskyseed.platform.task.model;

import java.util.Date;
import java.util.List;

import com.originskyseed.platform.core.base.BaseModel;
import com.originskyseed.platform.user.model.UserInfo;

/**
 * @Author: wlj @date: 2021/6/16
 */

public class TaskVO extends BaseModel {

	/**
	 * 编号（CODE）
	 */
	private String code;

	/**
	 * 名称（NAME）
	 */
	private String name;

	/**
	 * 任务类型 1维护任务 2推广任务 3学习任务 4培训任务 5其他任务
	 */
	private Integer type;

	/**
	 * 描述（CONTENT）
	 */
	private String content;

	/**
	 * 开始时间（BEGIN_TIME）
	 */
	private Date beginTime;

	/**
	 * 结束时间（END_TIME）
	 */
	private Date endTime;

	/**
	 * 勋章路径（MEDAL_PATH）
	 */
	private String medalPath;

	/**
	 * 创建人id（CREATOR_ID）
	 */
	private String creatorId;

	/**
	 * 创建人（CREATOR）
	 */
	private String creator;

	/**
	 * 状态状态 0未开始 1未完成、2完成、3延期、4关闭（STATE）
	 */
	private Integer state;

	/**
	 * 是否删除 1是 2否（IS_DEL）
	 */
	private Integer isDel;

	/**
	 * 是否启用 1是 2否（IS_ENABLE）
	 */
	private Integer isEnable;

	/**
	 * 任务阶段
	 */
	private String stage;

	/**
	 * 是否线上考试 1是 2否（IS_ONLINE_EXAM）
	 */
	private Integer isOnlineExam;

	/**
	 * 考卷id（PAPER_ID）
	 */
	private String paperId;

	/**
	 * 优先级（PRORITY）
	 */
	private Integer prority;

	/**
	 * 完成时间（FINISH_TIME）
	 */
	private Date finishTime;

	/**
	 * 链接数量（LINK_NUM）
	 */
	private Integer linkNum;

	/**
	 * 用户类型1业务员 2主播
	 */
	private Integer userType;

	/**
	 * 标识培训任务 1业务员 2主播
	 */
	private Integer account;

	/**
	 * 用户信息表
	 */
	private List<UserInfo> userInfoList;

	/**
	 * 指派完成人信息表
	 */
	private List<TaskRelateAssignPerson> taskRelateAssignPersonList;

	/**
	 * 考卷名称
	 */
	private String paperName;

	/**
	 * 是否达到接单上限 1是 0否
	 */
	private Integer isReach;

	/**
	 * 文件名称
	 */
	private String fileName;

	/**
	 * 文件路径
	 */
	private String filePath;

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public String getFilePath() {
		return filePath;
	}

	public void setFilePath(String filePath) {
		this.filePath = filePath;
	}

	/**
	 * 学习任务信息表
	 */
	private List<TaskRelateCourse> taskRelateCourseList;

	/**
	 * 任务关联维护用户表
	 */
	private List<TaskRelateMaintainUser> taskRelateMaintainUserList;

	/**
	 * 学习任务关联个人
	 */
	private List<TaskRelateCourseUser> taskRelateCourseUserList;

	public List<TaskRelateCourseUser> getTaskRelateCourseUserList() {
		return taskRelateCourseUserList;
	}

	public void setTaskRelateCourseUserList(List<TaskRelateCourseUser> taskRelateCourseUserList) {
		this.taskRelateCourseUserList = taskRelateCourseUserList;
	}

	public Integer getUserType() {
		return userType;
	}

	public void setUserType(Integer userType) {
		this.userType = userType;
	}

	public List<TaskRelateMaintainUser> getTaskRelateMaintainUserList() {
		return taskRelateMaintainUserList;
	}

	public void setTaskRelateMaintainUserList(List<TaskRelateMaintainUser> taskRelateMaintainUserList) {
		this.taskRelateMaintainUserList = taskRelateMaintainUserList;
	}

	public Integer getAccount() {
		return account;
	}

	public void setAccount(Integer account) {
		this.account = account;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Date getBeginTime() {
		return beginTime;
	}

	public void setBeginTime(Date beginTime) {
		this.beginTime = beginTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public String getMedalPath() {
		return medalPath;
	}

	public void setMedalPath(String medalPath) {
		this.medalPath = medalPath;
	}

	public String getCreatorId() {
		return creatorId;
	}

	public void setCreatorId(String creatorId) {
		this.creatorId = creatorId;
	}

	public String getCreator() {
		return creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Integer getIsDel() {
		return isDel;
	}

	public void setIsDel(Integer isDel) {
		this.isDel = isDel;
	}

	public Integer getIsEnable() {
		return isEnable;
	}

	public void setIsEnable(Integer isEnable) {
		this.isEnable = isEnable;
	}

	public String getStage() {
		return stage;
	}

	public void setStage(String stage) {
		this.stage = stage;
	}

	public Integer getIsOnlineExam() {
		return isOnlineExam;
	}

	public void setIsOnlineExam(Integer isOnlineExam) {
		this.isOnlineExam = isOnlineExam;
	}

	public String getPaperId() {
		return paperId;
	}

	public void setPaperId(String paperId) {
		this.paperId = paperId;
	}

	public Integer getPrority() {
		return prority;
	}

	public void setPrority(Integer prority) {
		this.prority = prority;
	}

	public Date getFinishTime() {
		return finishTime;
	}

	public void setFinishTime(Date finishTime) {
		this.finishTime = finishTime;
	}

	public String getPaperName() {
		return paperName;
	}

	public void setPaperName(String paperName) {
		this.paperName = paperName;
	}

	public Integer getLinkNum() {
		return linkNum;
	}

	public void setLinkNum(Integer linkNum) {
		this.linkNum = linkNum;
	}

	public List<UserInfo> getUserInfoList() {
		return userInfoList;
	}

	public void setUserInfoList(List<UserInfo> userInfoList) {
		this.userInfoList = userInfoList;
	}

	public List<TaskRelateAssignPerson> getTaskRelateAssignPersonList() {
		return taskRelateAssignPersonList;
	}

	public void setTaskRelateAssignPersonList(List<TaskRelateAssignPerson> taskRelateAssignPersonList) {
		this.taskRelateAssignPersonList = taskRelateAssignPersonList;
	}

	public List<TaskRelateCourse> getTaskRelateCourseList() {
		return taskRelateCourseList;
	}

	public void setTaskRelateCourseList(List<TaskRelateCourse> taskRelateCourseList) {
		this.taskRelateCourseList = taskRelateCourseList;
	}

	public Integer getIsReach() {
		return isReach;
	}

	public void setIsReach(Integer isReach) {
		this.isReach = isReach;
	}
}
